.referral {
    height: 100%;

    .header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        height: 12.8vw;
        padding: var(--m12) var(--m12) 0;
        display: flex;
        align-items: center;

        .back {
            width: 6.4vw;
            height: 6.4vw;
        }


        .logo {
            display: flex;
            align-items: center;

            img {
                width: 7.466vw;
            }

            .name {
                font-weight: 700;
                font-size: 5.8667vw;
                color: var(--main-text);
            }
        }
    }
    .content {
        margin: 0 auto;
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 66.133vw;
        height: 73.0667vw;
        padding-top: var(--m12);
        position: relative;
        border-radius: 2.1333vw;


        .referral_img {
            width: 66.133vw;
            height: 49.6vw;
        }

        .title {
            font-weight: 800;
            font-size: 5.3333vw;
            color: var(--main-text);
        }

        .input {
            margin: 4.2667vw auto 5.33vw;
            width: 68.26vw;
            height: 11.73vw;
            background: #fff;
            backdrop-filter: blur(17.5PX);
            border-radius: 2.1333vw;
            box-sizing: border-box;
            font-family: 'Montserrat-Regular';
            &::placeholder {
                font-size: var(--m11);
                color: var(--placeholder-text);
                font-family: 'Montserrat-Light';
            }
            .i {
                padding: 0;
            }
        }

        .desc {
            margin-top: 1.0667vw;
            width: 57.6vw;
            font-weight: 500;
            font-size: 3.46vw;
            font-family: Montserrat-Regular;
            text-align: center;
            color: #464D60;
        }


        .btn {
            width: 68.26vw;
            padding: var(--m12) 0;
            border-radius: var(--m12);
            font-size: 3.733vw;
            opacity: 1;
            display: flex;
            justify-content: center;
            align-items: center;
            color: #fff;
            background: linear-gradient(180deg, #5F6FFC 0%, #4C44E1 100%), linear-gradient(360deg, #4F48E2 0%, #6B65E9 100%);
        }

        .disabled {
            background: var(--referral-disabled) !important;
        }

    }

    .skip {
        margin-top: 4.8vw;
        color: var(--main-text);
        text-decoration-line: underline;
        text-align: center;
        font-size: 4vw;
    }
}

div.referral_toast {
    padding: 8vw 0;
    width: 73.6vw;
    font-size: 4vw;
    color: #CF3F3F;
    background: rgba(248, 248, 248, 0.5);
    box-shadow: 0 0 var(--m12) 0 rgba(0, 0, 0, 0.12);
    border-radius: 4.266vw;
    border: 1px solid rgba(255, 255, 255, 0.3);
    text-align: left;
}


@media screen and(min-width:1280px) {
    .referral {
        .header {
            height: 60.16px;
            padding: 20.0535px 20.0535px 0;
            display: flex;
            align-items: center;
    
    
            .back {
                width: 36px;
                height: 36px;
            }
    
            .logo {
                display: flex;
                align-items: center;
    
                img {
                    width: 42px;
                }
    
                .name {
                    font-weight: 700;
                    font-size: 27.5735px;
                    color: var(--main-text);
                }
            }
        }
        .content {
            width: 372px;
            height: 343.4135px;
            padding-top: 18px;



            .referral_img {
                width: 310px;
                height: 232.5px;
            }

            .title {
                font-size: 25.0665px;
            }

            .input {
                margin: 20px auto 25px;
                padding: 8.7735px 17.5465px;
                border-radius: 15px;
                width: 320px;
                height: 55px;
                border: 1px solid var(--input-border);

            }

            .desc {
                margin-top: 5.0135px;
                width: 270.72px;
                font-weight: 500;
                font-size: var(--pc13);
            }


            .btn {
                font-size: 17.5px;
                width: 320px;
                padding: var(--pc12) 0;
                border-radius: 15px;
            }

        }

        .skip {
            margin-top: 22.56px;
            font-size: 18.8px;
        }
    }

    div.referral_toast {
        padding: 35px 25.0665px;
        width: 224.3465px;
        font-size: 18.8px;
    }
}